package com.yzycoc.hamster.demo.time202505.time20250520.test;

import cn.hutool.db.ds.simple.SimpleDataSource;
import com.yzycoc.hamster.demo.common.JsonDbImporter;

/**
 * hamster-demo
 *
 * @author Administrator
 * @since 2025/5/20 21:27
 **/
public class InsertDb {
    public static void main(String[] args) {
        SimpleDataSource dataSource = new SimpleDataSource(
                "jdbc:mysql://localhost:3306/xc_cloud?useSSL=false&serverTimezone=Asia/Shanghai",
                "root",
                "root"
        );
        JsonDbImporter.insertFromJson("static/20250520/MySQL@30.30.33.24 - threat_point_20250301bak 2025-05-20 21-28-59.json", dataSource);


    }
}
